package com.epoint.mobileoa.ui.main;

import com.epoint.mobileoa.bizlogic.SuperView;
import com.epoint.mobileoa.http.HttpHelp;

import android.widget.Toast;

/**
 * @author liyc
 * @time 2012-12-3 上午12:20:56
 * @annotation 
 */
public class UserAction {
	public static void getUserPicture(SuperView sv){
		try{
			byte[] b = HttpHelp.getHttpBackByte(sv.fp.generateUrl("getUserPhoto",sv.fp.getUserguid()));
			System.out.println(b.length);
		}catch(Exception e)
		{
			Toast.makeText(sv, e.getMessage(), Toast.LENGTH_SHORT).show();
		}
	}
}
